package ModelLayer;

public class Product {
	private int id;
	private String name;
	private double nettPrice;
	private int tax;
	private int minStock;
	private int stockAmount;
	private String description;
	private String status;
	
	public Product (int id, String name, double nettPrice, int tax, int minStock, int stockAmount, String description, String status) {
		this.setId(id);
		this.setName(name);
		this.setNettPrice(nettPrice);
		this.setTax(tax);
		this.setMinStock(minStock);
		this.setStockAmount(stockAmount);
		this.setDescription(description);
		this.setStatus(status);
	}
	
	public Product() {
		this.setId(0);
		this.setName("");
		this.setNettPrice(0.0);
		this.setTax(0);
		this.setMinStock(0);
		this.setStockAmount(0);
		this.setDescription("");
		this.setStatus("");
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public double getNettPrice() {
		return nettPrice;
	}

	public void setNettPrice(double nettPrice) {
		this.nettPrice = nettPrice;
	}

	public int getTax() {
		return tax;
	}

	public void setTax(int tax) {
		this.tax = tax;
	}

	public int getMinStock() {
		return minStock;
	}

	public void setMinStock(int minStock) {
		this.minStock = minStock;
	}

	public int getStockAmount() {
		return stockAmount;
	}

	public void setStockAmount(int stockAmount) {
		this.stockAmount = stockAmount;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

}
